package com.dkd.manage.mapper;

import com.dkd.manage.domain.LandlordBuildingRel;
import com.dkd.manage.domain.bo.LandlordBuildingBo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 14276
* @description 针对表【landlord_building_rel】的数据库操作Mapper
* @createDate 2024-07-16 16:50:46
* @Entity com.dkd.tb.domain.LandlordBuildingRel
*/
public interface LandlordBuildingRelMapper {

    /**
     * 批量插入数据
     * @param landlordBuildingRelList
     * @return
     */
    int insertBatch(@Param("landlordBuildingRelList") List<LandlordBuildingRel> landlordBuildingRelList);

    /**
     * 根据房东id查询房东所拥有的楼盘
     * @param landlordIds
     * @return
     */
    List<LandlordBuildingBo> selectBuildingsByLids(@Param("landlordIds") List<Long> landlordIds);
}




